package com.icinfo.cloud.provider.punish.approval.client;

import com.icinfo.cloud.provider.punish.approval.api.ApprovalFeignApi;
import com.icinfo.cloud.provider.punish.approval.dto.AuditDetailDocumentQueryDto;
import com.icinfo.cloud.provider.punish.approval.service.ICaseApprovalCompleteRecordService;
import com.icinfo.cloud.provider.punish.approval.vo.AuditInfoVo;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ApprovalClient implements ApprovalFeignApi {
    @Resource
    private ICaseApprovalCompleteRecordService caseApprovalCompleteRecordService;
    @Override
    public AuditInfoVo getAuditDocDetail(AuditDetailDocumentQueryDto auditDetailDocumentQueryDto) {
        return caseApprovalCompleteRecordService.getAuditDocDetail(auditDetailDocumentQueryDto);
    }
}
